<script type="text/javascript">
	function onlyNumbers(evt) 
	{
		evt = (evt) ? evt : window.event
		var charCode = (evt.which) ? evt.which : evt.keyCode
		if (charCode > 31 && (charCode < 48 || charCode > 57)) {
			//status = "This field accepts numbers only."
			alert("Harus di Isi Angka");
			return false
		}
		//status = ""
		return true 	
	}
</script>
{masteraccount}
<form method="post" name="frmEdit" action="<?php echo site_url('mstraccountcontroller/ubahmstraccount');?>">
    <h3 align="center"><u><strong>EDIT INFORMASI REKENING</strong></u> </h3>
    <table width="100%" cellpadding="3" cellspacing="0" border="1">
        <tr>
            <td width="124"><strong>Kode Bank</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td width="838" colspan="3"><input type="text"  name="kdbank" id="kdbank" maxlength="12" size="25" value="{KodeBank}" readonly="readonly"/></td>
        </tr>
        <tr>
            <td width="124"><strong>Nama Bank</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td ><input type="text"  name="nmbank" id="nmbank" size="25" maxlength="20" value="{Bankname}" readonly="readonly"/></td>
        </tr>
        <tr>
            <td width="124"><strong>No Rekening</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td ><input type="text"  name="norek" id="norek" size="25" maxlength="20" value="{NoRekening}" readonly="readonly"/></td>
        </tr>
        <tr>
            <td width="124"><strong>Saldo Awal</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td ><input type="text"  name="sldawal" id="sldawal" size="25" maxlength="20" value="{SaldoAwal}" onkeypress="return onlyNumbers(event);"/></td>
        </tr>
        <tr>
            <td width="124"><strong>Uang Masuk</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td ><input type="text"  name="uangin" id="uangin" size="25" maxlength="20" value="{Uangmasuk}" onkeypress="return onlyNumbers(event);"/></td>
        </tr>
        <tr>
            <td width="124"><strong>Uang Keluar</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td ><input type="text"  name="uangout" id="uangout" size="25" maxlength="20" value="{Uangkeluar}" onkeypress="return onlyNumbers(event);"/></td>
        </tr>
        <tr>
			<td width="124"><strong>Saldo Akhir</strong></td>
            <td width="25" align="center"><strong>:</strong></td>
            <td><input type="text"  name="sldakhir" id="sldakhir" size="25" maxlength="20" value="{SaldoAkhir}" onkeypress="return onlyNumbers(event);"/>
            </td>
		</tr>
        <tr>
            <td colspan="3" align="center"><input type="submit" value="Save" name="btnSave" >&nbsp;<input type="button" name="btnClose" value="Back" class="btn" onclick="javascript:history.back(1);" /></td>
        </tr>
    </table>
</form>
{/masteraccount}